import request from '@/utils/request'


export function submitOwnInfo(data){
  return request({
    url:"/comprehensive/extraInfo/submitOwnInfo",
    method:"POST",
    data
  });
}



export function getOwnInfo(){
  return request({
    url:"/comprehensive/extraInfo/getOwnInfo",
    method:"GET"
  });
}



// 查询学生其他信息列表
export function listExtraInfo(query) {
  return request({
    url: '/comprehensive/extraInfo/list',
    method: 'get',
    params: query
  })
}

// 查询学生其他信息详细
export function getExtraInfo(id) {
  return request({
    url: '/comprehensive/extraInfo/' + id,
    method: 'get'
  })
}

// 新增学生其他信息
export function addExtraInfo(data) {
  return request({
    url: '/comprehensive/extraInfo/add',
    method: 'post',
    data: data
  })
}

// 修改学生其他信息
export function updateExtraInfo(data) {
  return request({
    url: '/comprehensive/extraInfo/update',
    method: 'post',
    data: data
  })
}

// 删除学生其他信息
export function delExtraInfo(id) {
  return request({
    url: '/comprehensive/extraInfo/' + id,
    method: 'post'
  })
}
